html {
  direction: ltr;
  height: 100%; // http://updates.html5rocks.com/2013/12/300ms-tap-delay-gone-away
  touch-action: manipulation;

  ::-webkit-scrollbar {
    /* 1 */
    width: 5px;
    background-color: #6E6E6E;
    height: 5px;
  }

  ::-webkit-scrollbar-button {
    /* 2 */
  }

  ::-webkit-scrollbar-track {
    /* 3 */
  }

  ::-webkit-scrollbar-track-piece {
    /* 4 */
  }

  ::-webkit-scrollbar-thumb {
    /* 5 */
    background-color: #DDDFE2;
  }

  ::-webkit-scrollbar-corner {
    /* 6 */
  }

  ::-webkit-resizer {
    /* 7 */
  };
}

app-root,
body,
html {
  // overflow-x: hidden;
  height: 100%;
}

body {
  color: @text-color;
  background-color: @content-bg !important;
  font-size: 12px !important;
}

.f-left {
  float: left !important;
}

.f-right {
  float: right !important;
}

.wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
}

.content {
  margin: @header-hg+@tab-hg+5 @content-padding @content-padding @content-padding-left;
  position: relative;

  .content-inner {
    // padding-top: @tab-hg;
  }

  .top-interval {
    padding-bottom: 16px;
  }

  nz-card {
    margin-bottom: 16px;
  }
}

.d-flex {
  display: -webkit-box!important;
  display: -ms-flexbox!important;
  display: flex!important;
}

.items-center {
  -webkit-box-align: center!important;
  -ms-flex-align: center!important;
  align-items: center!important;
}

.a-selected {
  color: rgba(0, 0, 0, 0.65);
  cursor: default;

  &:hover {
    color: rgba(0, 0, 0, 0.65);
  }
}

.aside-collapsed {
  .content {
    margin-left: 88px;
  }
}

.router-progress-bar {
  width: 100vw;
  height: 4px;
  overflow: hidden;
  background: rgba(221,221,221,.4);
  position: fixed;
  z-index: 29;

  .progress {
    position: absolute;
    width: 100%;
    top: -8px;
    .ant-progress-inner {
      background-color: inherit;
    }
  }
}

.footer {
  p {
    text-align: center;
  }
  .link {
    margin: 0;
  }
  .copyright {
    color: #8d8d8d;
  }
}

.layou-drawer {
  .ant-drawer-body {
    height: calc(100% - 108px);
    height: -moz-calc(100% - 108px);
    overflow: auto;
    margin-bottom: 53px
  }
  .footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    border-top: 1px solid rgb(232, 232, 232);
    padding: 10px 16px;
    text-align: right;
    left: 0px;
    background: #fff;
  }
}
